<!-- 1903010328 查询通行证 -->
<?php
include "../../inc/log/adsession.php";
?>
<!doctype html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Document</title>
</head>
<body>
	<?php
	include "../../inc/data/connAdmin.php";		
		//执行删除
		$sql = "delete from mamx_menu where menuname=?";
		$stmtD=$conn->prepare($sql);
		$stmtD->bind_param("s",$menuName);
		$menuName=$_GET["menu"];
		$stmtD->execute();
		if ($stmt->affected_rows==1) {
			echo<<<END
			<script type="text/javascript">
			alert("菜单删除成功！");
			history.back();
			</script>
END;
		}

	?>
</body>
</html>